package com.hb.core.pojo.project.calibration.dto;

import com.hb.core.pojo.project.calibration.entity.BidWinResult;
import com.hb.core.pojo.project.section.entity.BidSection;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * <p>
 * 中标结果公示/公告表
 * </p>
 *
 * @author zhongdl
 * @since 2021-12-18
 */
@Getter
@Setter
@ApiModel(value = "BidBuyRecordDTO", description = "领购记录DTO")
public class BidWinResultDTO extends BidWinResult {

    @ApiModelProperty(value = "标段id")
    private Long sectionId;

    @ApiModelProperty(value = "方案(包)编号")
    private String sectionCode;

    @ApiModelProperty(value = "方案(包)名称")
    private String sectionName;

    @ApiModelProperty(value = "项目编号")
    private String projectCode;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /**
     * 该字段必填前端传值
     * 该字段表示当前公告的保存内容
     * 根据前端页面的传值判断各参数的验证信息
     * 1: 中标结果公告基本信息保存
     * 2: 中标结果公告第二部文件内容更新
     */
    private Integer noticeFormFlag;

    /**
     *
     * @Description: 中标结果公示下的多个中标人
     **/
    @ApiModelProperty(value = "中标人列表")
    private List<BidWinResultSupplyDTO> successfulNoticeSupplyList;


    @ApiModelProperty(value = "中标结果子表ID")
    private Long winResultSupplyId;
    /**
     *
     * @Description: 标段中标人对象
     **/
    @ApiModelProperty(value = "标段中标人对象")
    private BidWinResultSupplyDTO bidWinResultSupply;

    @ApiModelProperty(value = "中标人列表关联的标段列表")
    private List<BidSection> bidSectionList;

    @ApiModelProperty(value = "是否线上开标  1：是 2：否")
    private Integer openFlag;
}
